package com.auth.Sercurity.demo1;

import org.springframework.stereotype.Component;

/**
 * @author hujian
 * @version 1.0
 * @description: 陈六
 * @date 2022/2/16 11:39
 */
@Component
public class ChengliuTaskStrategy implements UserTaskStrategy {
    @Override
    public String userTaskPorcess(String User) {
       return "陈六完成任务";
    }
    @Override
    public void afterPropertiesSet() throws Exception {
        UserTaskStrategyFactory.redisterUserRaskStrategy("陈六",this);
    }
}
